// MyAnimNotify.h
#pragma once

#include "CoreMinimal.h"
#include "Animation/AnimNotifies/AnimNotify.h"
#include "MyAnimNotify.generated.h"


UENUM(BlueprintType)
enum class ENotifyType : uint8
{
    PlaySound,
    SpawnParticle,
    CustomEvent
};

UCLASS()
class TIANZHU_API UMyAnimNotify : public UAnimNotify
{
    GENERATED_BODY()

public:
    virtual void Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation) override;

    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Notify")
    ENotifyType NotifyType;
};
